.TH std::cv_status 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::cv_status \- std::cv_status

.SH Synopsis
   Defined in header <condition_variable>
   enum class cv_status {

       no_timeout,                         \fI(since C++11)\fP
       timeout

   };

   The scoped enumeration std::cv_status describes whether a timed wait returned
   because of timeout or not.

   std::cv_status is used by the wait_for and wait_until member functions of
   std::condition_variable and std::condition_variable_any.

.SH Member constants

   Constant   Explanation
   no_timeout the condition variable was awakened with notify_all, notify_one, or
              spuriously
   timeout    the condition variable was awakened by timeout expiration

.SH See also

              blocks the current thread until the condition variable is awakened or
   wait_for   after the specified timeout duration
              \fI(public member function of std::condition_variable)\fP
              blocks the current thread until the condition variable is awakened or
   wait_for   after the specified timeout duration
              \fI(public member function of std::condition_variable_any)\fP
              blocks the current thread until the condition variable is awakened or
   wait_until until specified time point has been reached
              \fI(public member function of std::condition_variable)\fP
              blocks the current thread until the condition variable is awakened or
   wait_until until specified time point has been reached
              \fI(public member function of std::condition_variable_any)\fP
